package com.example.footballsystem.entity;

import java.sql.Date;

public class TeamGame {
    private Date time;
    private String gameName;
    private int team1ID;
    private int team2ID;
    private int score1;
    private int score2;
    private int teamGameID;

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getGameName() {
        return gameName;
    }

    public void setGameName(String gameName) {
        this.gameName = gameName;
    }

    public int getTeam1ID() {
        return team1ID;
    }

    public void setTeam1ID(int team1ID) {
        this.team1ID = team1ID;
    }

    public int getTeam2ID() {
        return team2ID;
    }

    public void setTeam2ID(int team2ID) {
        this.team2ID = team2ID;
    }

    public int getScore1() {
        return score1;
    }

    public void setScore1(int score1) {
        this.score1 = score1;
    }

    public int getScore2() {
        return score2;
    }

    public void setScore2(int score2) {
        this.score2 = score2;
    }

    public int getTeamGameID() {
        return teamGameID;
    }

    public void setTeamGameID(int teamGameID) {
        this.teamGameID = teamGameID;
    }

    @Override
    public String toString() {
        return "TeamGame{" +
                "time='" + time + '\'' +
                ", gameName='" + gameName + '\'' +
                ", team1ID=" + team1ID +
                ", team2ID=" + team2ID +
                ", score1=" + score1 +
                ", score2=" + score2 +
                ", teamGameID=" + teamGameID +
                '}';
    }
}
